package com.angel.arquitectura.context;



public class ExecutionContext{

	private static final ThreadLocalExecutionContext localExecutionContext = new ThreadLocalExecutionContext();
	
	private static class ThreadLocalExecutionContext extends ThreadLocal {
	    public Object initialValue() {
	      return new Context();
	    }
	}
	
	public static Context getContext() {
		return (Context)localExecutionContext.get();
	}
	
}
